package com.woniu.car.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wuyanzu
 * @since 2021-06-22
 */
public class TCouponLogs implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "coupon_logs_id", type = IdType.AUTO)
    private Integer couponLogsId;

    private Integer userId;

    private Integer createRole;

    private Integer couponId;

    private String couponNo;

    private Integer type;

    private Double deductionMoney;

    private Double discountMoney;

    private Double fullMoney;

    private Integer couponReceiveId;

    private Date createTime;


    public Integer getCouponLogsId() {
        return couponLogsId;
    }

    public void setCouponLogsId(Integer couponLogsId) {
        this.couponLogsId = couponLogsId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCreateRole() {
        return createRole;
    }

    public void setCreateRole(Integer createRole) {
        this.createRole = createRole;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public String getCouponNo() {
        return couponNo;
    }

    public void setCouponNo(String couponNo) {
        this.couponNo = couponNo;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Double getDeductionMoney() {
        return deductionMoney;
    }

    public void setDeductionMoney(Double deductionMoney) {
        this.deductionMoney = deductionMoney;
    }

    public Double getDiscountMoney() {
        return discountMoney;
    }

    public void setDiscountMoney(Double discountMoney) {
        this.discountMoney = discountMoney;
    }

    public Double getFullMoney() {
        return fullMoney;
    }

    public void setFullMoney(Double fullMoney) {
        this.fullMoney = fullMoney;
    }

    public Integer getCouponReceiveId() {
        return couponReceiveId;
    }

    public void setCouponReceiveId(Integer couponReceiveId) {
        this.couponReceiveId = couponReceiveId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "TCouponLogs{" +
                "couponLogsId=" + couponLogsId +
                ", userId=" + userId +
                ", createRole=" + createRole +
                ", couponId=" + couponId +
                ", couponNo='" + couponNo + '\'' +
                ", type=" + type +
                ", deductionMoney=" + deductionMoney +
                ", discountMoney=" + discountMoney +
                ", fullMoney=" + fullMoney +
                ", couponReceiveId=" + couponReceiveId +
                ", createTime=" + createTime +
                '}';
    }
}
